home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-12-19 | 1.3 KB | 44 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Program Options\Microsoft Office\MS Office 2000\Outlook 2000"
- "NAME"="Minimize to Tray"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Display Outlook minimized in the tray"
- "DESCRIPTION 1"="Normally, when Outlook is minimized, it minimizes to the taskbar."
- "DESCRIPTION 2"="If this option is activated, Outlook minimizes to the tray (the area where the clock is located, bottom-right)."
- "DESCRIPTION 3"="For users that always use Outlook this can save some clutter in the taskbar."
- "VERSION"="1.01"
- "AUTHOR"="Franky"
- "COPYRIGHT"="Copyright ⌐ 2002"
-
- 'Declaration of some constants
- sPath="HKCU\Software\Microsoft\Office\9.0\Outlook\Preferences\MinToTray"
-
- 'Called when the Plugin is started
- SUB Plugin_Initialize
- RegVal=RegReadValue(sPath)
- if RegVal = 1 then
- Call SetUIElement(1,true)
- else
- Call SetUIElement(1,false)
- end if
- END SUB
-
- 'Called when the Plugin should validate the Data the user has entered
- SUB Plugin_CheckData(ElementIndex)
- END SUB
-
- 'Called when the Plugin should apply the changes
- SUB Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1) then
- Call RegWriteValue(sPath,1,2)
- else
- Call RegWriteValue(sPath,0,2)
- end if
- END SUB
-
- 'Called when the Plugin is about to be removed from memory
- SUB Plugin_Terminate
- END SUB
-